package com.tgy.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @Author: tgy
 * @Date: 2020-08-26 15:31
 */
@Data
@Component
@ConfigurationProperties(prefix = "person")
public class Person {

    private String name;

    private Integer age;

    private List<String> names;

    private Dog dog;

    private Map<String,String> paras;
}
